<html>
<body>
Reports <code>when</code> expressions with the constant <code>true</code> or <code>false</code> branches.
<p><b>Simplify "when"</b> quick-fix can be used to amend the code automatically.</p>
<p>Examples:</p>
<pre><code>
  fun redundant() {
      when { // &lt;== redundant, quick-fix simplifies the when expression to "println("true")"
          true -> println("true")
          else -> println("false")
      }
  }
</code></pre>
</body>
</html>
